Optimal. Leaf size=27 \[ \frac {\left (-a+b x^2+c x^4\right )^{1+p}}{2 (1+p)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 27, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.077, Rules used = {1261, 643}
\begin {gather*} \frac {\left (-a+b x^2+c x^4\right )^{p+1}}{2 (p+1)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 643
Rule 1261
Rubi steps
\begin {align*} \int x \left (b+2 c x^2\right ) \left (-a+b x^2+c x^4\right )^p \, dx &=\frac {1}{2} \text {Subst}\left (\int (b+2 c x) \left (-a+b x+c x^2\right )^p \, dx,x,x^2\right )\\ &=\frac {\left (-a+b x^2+c x^4\right )^{1+p}}{2 (1+p)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.04, size = 27, normalized size = 1.00 \begin {gather*} \frac {\left (-a+b x^2+c x^4\right )^{1+p}}{2 (1+p)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.02, size = 26, normalized size = 0.96
method | result | size |
gosper | \(\frac {\left (c \,x^{4}+b \,x^{2}-a \right )^{1+p}}{2+2 p}\) | \(26\) |
risch | \(-\frac {\left (-c \,x^{4}-b \,x^{2}+a \right ) \left (c \,x^{4}+b \,x^{2}-a \right )^{p}}{2 \left (1+p \right )}\) | \(38\) |
norman | \(-\frac {a \,{\mathrm e}^{p \ln \left (c \,x^{4}+b \,x^{2}-a \right )}}{2 \left (1+p \right )}+\frac {b \,x^{2} {\mathrm e}^{p \ln \left (c \,x^{4}+b \,x^{2}-a \right )}}{2+2 p}+\frac {c \,x^{4} {\mathrm e}^{p \ln \left (c \,x^{4}+b \,x^{2}-a \right )}}{2+2 p}\) | \(86\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.31, size = 37, normalized size = 1.37 \begin {gather*} \frac {{\left (c x^{4} + b x^{2} - a\right )} {\left (c x^{4} + b x^{2} - a\right )}^{p}}{2 \, {\left (p + 1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.34, size = 37, normalized size = 1.37 \begin {gather*} \frac {{\left (c x^{4} + b x^{2} - a\right )} {\left (c x^{4} + b x^{2} - a\right )}^{p}}{2 \, {\left (p + 1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 201 vs.
\(2 (19) = 38\).
time = 130.39, size = 201, normalized size = 7.44 \begin {gather*} \begin {cases} - \frac {a \left (- a + b x^{2} + c x^{4}\right )^{p}}{2 p + 2} + \frac {b x^{2} \left (- a + b x^{2} + c x^{4}\right )^{p}}{2 p + 2} + \frac {c x^{4} \left (- a + b x^{2} + c x^{4}\right )^{p}}{2 p + 2} & \text {for}\: p \neq -1 \\\frac {\log {\left (x - \frac {\sqrt {2} \sqrt {- \frac {b}{c} - \frac {\sqrt {4 a c + b^{2}}}{c}}}{2} \right )}}{2} + \frac {\log {\left (x + \frac {\sqrt {2} \sqrt {- \frac {b}{c} - \frac {\sqrt {4 a c + b^{2}}}{c}}}{2} \right )}}{2} + \frac {\log {\left (x - \frac {\sqrt {2} \sqrt {- \frac {b}{c} + \frac {\sqrt {4 a c + b^{2}}}{c}}}{2} \right )}}{2} + \frac {\log {\left (x + \frac {\sqrt {2} \sqrt {- \frac {b}{c} + \frac {\sqrt {4 a c + b^{2}}}{c}}}{2} \right )}}{2} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 4.21, size = 25, normalized size = 0.93 \begin {gather*} \frac {{\left (c x^{4} + b x^{2} - a\right )}^{p + 1}}{2 \, {\left (p + 1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 2.05, size = 52, normalized size = 1.93 \begin {gather*} {\left (c\,x^4+b\,x^2-a\right )}^p\,\left (\frac {b\,x^2}{2\,p+2}-\frac {a}{2\,p+2}+\frac {c\,x^4}{2\,p+2}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________